package cur.channel.server.netty;

import cur.channel.server.util.CommonUtils;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Data
@Component
@ConfigurationProperties(prefix = "channel.netty")
public class NettyProperties {

    private List<String> url;
    private Integer reconnectWaitSecond;
    private Integer taskRequestWaitTime;

    private String username;
    private String password;
    private Integer port;
    private Integer readWaitSecond;
    private Integer writeWaitSecond;
}
